<form name="editForm">
	<div class="form-group">
		<div class="col-md-12 form-item">
			<div class="col-sm-3 col-md-3 form-title">封帐年份：</div>
			<div class="col-sm-8 col-md-8 form-input">
			 	<div class="input-group">
					<select name="closeYear" 
						   ng-model="editModel.closed.closedYear" 
						   class="form-control">
					       <option ng-repeat="year in viewModel.yearData" value="{{year}}" ng-selected="editModel.closed.closedYear==year">{{year}}</option>
					</select>
				</div>
			</div>
		</div>
		<div class="col-md-12 form-item">
			<div class="col-sm-3 col-md-3 form-title"><span style="color:red;">*</span>封帐月份：</div>
			<div class="col-sm-8 col-md-8 form-input"
				 ng-class="{ 'has-error' : editForm.closeMonth.$dirty && editForm.closeMonth.$invalid}">
			 	<select name="closeMonth" class="form-control" ng-model="editModel.closed.closedMonth" required>
			 	   <option value=""></option>
				   <option value="1">1</option>
				   <option value="2">2</option>
				   <option value="3">3</option>
				   <option value="4">4</option>
				   <option value="5">5</option>
				   <option value="6">6</option>
				   <option value="7">7</option>
				   <option value="8">8</option>
				   <option value="9">9</option>
				   <option value="10">10</option>
                   <option value="11">11</option>
                   <option value="12">12</option>  
                </select>
			</div>
		</div>
	</div>	
</form>